<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>检查任务管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {

		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }		
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="">检查计划添加</a></li>
	</ul><br/>
    <sys:message content="${message}"/>
	<form:form id="searchForm" modelAttribute="drSx" action="${ctx}/jh/drJh/listSx" method="post" class="form-horizontal">
    <form:hidden path="officeZd.id" value="${fns:getUser().getOffice().id}"/>
    <form:hidden path="createBy.id" value="${fns:getUser().id}"/>
    <form:hidden path="uFlag" value="0"/>
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
        <div class="control-group">
                <label class="control-label"></label>
                <div class="controls">    
                    <table id="contentTable" class="table table-striped table-bordered table-condensed" style="width:80%;">
                        <thead>
                            <tr>
                                <th>序号</th>
                                <th>事项名称</th>
                                <th>制定部门</th>
                            </tr>
                        </thead>
                        <tbody>
                        <c:forEach items="${page.list}" var="drSx" varStatus="s">
                            <tr>
                                <td>${s['index']+1}</td>
                                <td><a href="${ctx}/jh/drJh/form?sxId=${drSx.id}">${drSx.sxMc}</a></td>
                                <td>${drSx.officeZd.name}</td>
                            </tr>
                        </c:forEach>
                        </tbody>
                    </table>
                    <div class="pagination">${page}</div>    
                </div>
            </div>        
	</form:form>

    
                   
    <form:form id="inputForm" modelAttribute="drSx" action="${ctx}/sx/drSx/" method="post" class="form-horizontal">

		<div class="form-actions">
			<%--<shiro:hasPermission name="jcxx:drJcxx:edit"><input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>&nbsp;</shiro:hasPermission>--%>
			<input id="btnCancel" class="btn" type="button" value="返 回" onClick="history.go(-1)"/>
		</div>
	</form:form>
</body>
</html>